/**
 * Created by limx on 2016/3/29.
 */
function jfnLogin(){
    var name=$("#user_name").val();
    var pwd = $("#user_pwd").val();

    var json={
        "name":name,
        "pwd":pwd
    };
    $.post("/Home/Login/pfnLogin",json,function(jsonData){
        if(jsonData.STATUS == "1"){
            location="/Home/Index/index";
        }
        else{
            alert(jsonData.MESSAGE);
        }
    },"json");

}